Use flex fields

N4 lets you store additional information for which no pre-defined field exists in the database by using flex fields. For example, you can override a flex field for the Unit entity to store some unit delivery requirement information for which there is no pre-defined field in N4.

N4 supports different kinds of flex fields:

The following matrix can help you decide when it is best to use system flex fields versus dynamic flex fields.

 

System Flex Fields

Dynamic Flex Fields

Ease-of-use

X

 

Support of data types boolean and system-delivered enumeration

 

X

Ability to build custom functionality requiring new tables

 

X

Support of many-to-one relations

 

X

Free licensing

X

 

The Group ID that you assign to a flex field determines the location of the flex field in the various inspectors, forms, and list views. For more information, see Location of flex fields (on page 1).

For a list of available flex fields and their various attributes, see Available flex fields (on page 1). For a visual illustration of what is involved in configuring flex fields, see the process flow (on page 1) diagram.

Notes

You can also display flex fields in XPS. For more information, see Configure N4 flex fields for XPS (on page 1).

To use a flex field:

  1. Override a flex field at the required scope level.

For more information, see Configuring a flex field (on page 1).

  1. Use the appropriate data entry forms to edit the value stored in a flex field. For more information, see Location of flex fields (on page 1).

  2. Add the flex field to one or more of the following:

For more information on the tag names for the various flex fields, see the corresponding reporting entity.

For more information, see Tran Type form.

If you configure unit flex fields in a gate form, make sure to include the ApplyFlexFieldsToUnit and ApplyInspectionUnitFlexFields business tasks in your gate configuration as needed.

For more information, see XML data elements.

For more information, see EDI Message Map form.

For more information on the element names for the various flex fields, see the snx.xsd schema file.

  1. Optionally, to display a flex field value in XPS you can add the associated attribute to the settings.xml and SPARCS settings.txt files under the #ATTRIBUTE section. For more information, see Viewing flex fields in XPS (on page 1).

    In This Section